if not exists(select id  FROM  syscolumns WHERE name = '$idColumn' and id= object_id('$Datatable'))
alter table  $Datatable
add $indexColumn int identity(1,1) Primary key Clustered

